﻿using SeaBattle.Domain.Entities;
using System.Collections.Generic;

namespace SeaBattle.Domain.Abstract
{
    public interface IPlayerRepository
    {
        Player CreateNewPlayer(string name, string login, string password);
        void SavePlayer(Player player);
        Player GetPlayer(string login);

        IList<Player> Players { get; }

    }
}
